package com.heking.zplayer.qlyopen;

import androidx.annotation.Keep;

/**
 * @Author: zhoug
 * @Date: 2024-11-05
 * @Description:
 */
@Keep
public class QlyCameraInfoBean {
    private String deviceName;
    private String deviceId;
    private String thumbnailUrl;
    private int deviceSwitch; // 1 打开 0 关闭
    private int deviceStatus; // 1 在线 0 离线
    private long createTime;
    private String camModelName;
    private String deviceLatitude;
    private String deviceLongitude;
    private String platform;
    private String region;

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getThumbnailUrl() {
        return thumbnailUrl;
    }

    public void setThumbnailUrl(String thumbnailUrl) {
        this.thumbnailUrl = thumbnailUrl;
    }

    public int getDeviceSwitch() {
        return deviceSwitch;
    }

    public void setDeviceSwitch(int deviceSwitch) {
        this.deviceSwitch = deviceSwitch;
    }

    public int getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(int deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getCamModelName() {
        return camModelName;
    }

    public void setCamModelName(String camModelName) {
        this.camModelName = camModelName;
    }

    public String getDeviceLatitude() {
        return deviceLatitude;
    }

    public void setDeviceLatitude(String deviceLatitude) {
        this.deviceLatitude = deviceLatitude;
    }

    public String getDeviceLongitude() {
        return deviceLongitude;
    }

    public void setDeviceLongitude(String deviceLongitude) {
        this.deviceLongitude = deviceLongitude;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public boolean isOnline() {
        return deviceStatus == 1;
    }

    public boolean isOpen() {
        return deviceSwitch == 1;
    }

}
